Return To Home Search Feedback

Search Only Tips

Back to Portables
Up to Table of Contents
Ahead to Presentation Tips

HDC Power Launcher

Say Goodbye

Program Manager icons can execute enhanced commands and call DLLs simultaneously. You can exit Windows with the double-click of an icon with Program Manager. To do this, create a new program item and give it the following command:

microman.exe /c win.dll ExitWindows(0x43L, 0)

A Quick Goodbye

Eliminate the prompt that asks if you're sure you want to exit Windows. Go to your HDC.INI file under the hDC Power Launcher section and remove the question mark from the Exit button.

One Hand Washes the Other

Power Launcher and Program Manager are complementary. For example, you can hide the main power bar portion of Power Launcher, but use the system menu filled with your most important enhanced commands or applications by configuring the menu import button.

Become a Micromanager

Launch Power Launcher enhanced commands from Program Manager icons, or from any Windows shell's Run command line by typing microman/c before the enhanced command. MICROMAN.EXE and HDCLIB.DLL files must be available in the path statement of the AUTOEXEC.BAT file.

Go Online

Power Launchers can exchange tips and ideas in a forum on America Online and CompuServe. Just type in the keyword HDC to connect on AOL, and Go:winapa on the CompuServe forum, listed as Express/hDC.

A Secret Message

An undocumented hDC function library call places a custom message box on your screen. Type the following into your enhanced commands, and add your custom title and message:


hdclib.dll

hDCMessageBox(0, "your message text here", "your messagebox title here", 0, 0L, 0L);

Change Icons

Change Power Bar icons on the fly with the following enhanced command that you place on your system menu:


win.dll WritePrivateProfileString("hDC Power Launcher", "PowerButton{text("1","Enter Button Number to Modify")}", "{text(,"Enter Command to Associate with the Button")}", "hdc.ini")

If hdc.ini is not on the path, this command will create it in the Windows directory.

Put Your Favorite App on Tap

Add this to your Power Launcher startup command (edit the initial directory setting to tell the location of the files), and pick a program to run or select "none":


{file(*.exe,dpfe,"run a microapp?")}

:in=c:\windows\microapp,min;

This enhanced command will give you interactive prompts to launch an application of your choice when you start Power Launcher.

Horizontal Navigation

Tired of of the virtual desktop window? Set up all of your screens horizontally, then make the following changes to the hDC Power Launcher section of your HDC.INI file:


PowerButton1.Icon=(progman.exe,44)

PowerButton1=power -vl

PowerButton2.Icon=(progman.exe,45)

PowerButton2=power -vr

This places left and right arrows on the first two buttons of your button bar. They will move you from one virtual desktop to the next.

Back to Portables
Up to Table of Contents
Ahead to Presentation Tips

Copyright (c) 1996 CMP Media Inc.